package com.nanhai.buddhist.college.module.collegebase.convert.professions;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.collegebase.controller.admin.professions.vo.ProfessionsCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.professions.vo.ProfessionsExcelVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.professions.vo.ProfessionsRespVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.professions.vo.ProfessionsUpdateReqVO;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.professions.ProfessionsDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.professions.vo.*;

/**
 * 学校管理--专业 Convert
 *
 * @author 开发
 */
@Mapper
public interface ProfessionsConvert {

    ProfessionsConvert INSTANCE = Mappers.getMapper(ProfessionsConvert.class);

    ProfessionsDO convert(ProfessionsCreateReqVO bean);

    ProfessionsDO convert(ProfessionsUpdateReqVO bean);

    ProfessionsRespVO convert(ProfessionsDO bean);

    List<ProfessionsRespVO> convertList(List<ProfessionsDO> list);

    PageResult<ProfessionsRespVO> convertPage(PageResult<ProfessionsDO> page);

    List<ProfessionsExcelVO> convertList02(List<ProfessionsDO> list);

}
